<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>

<h:panelGrid columns="6" styleClass="normal">
	<h:outputText value="#{bundle.receive_raw_material_plan}"/>
	<rich:calendar id="receiveRawMaterialPlan" value="#{con100.selectItem.receiveRawMaterialPlan}" datePattern="dd.MM.yyyy" locale="th_US" disabled="#{!con100.editRaw}">
		<a4j:support id="onchangeReceiveRawMaterialPlan" event="onchanged" reRender="receiveRawMaterialPlan" actionListener="#{con100.onchangeRaw}"/>
	</rich:calendar>
	<h:outputText value="#{bundle.receive_raw_material_actual}"/>
	<rich:calendar id="receiveRawMaterialActual" value="#{con100.selectItem.receiveRawMaterialActual}" datePattern="dd.MM.yyyy" locale="th_US" disabled="#{!con100.editRaw}">
		<a4j:support id="onchangeReceiveRawMaterialActual" event="onchanged" reRender="receiveRawMaterialActual" actionListener="#{con100.onchangeRaw}"/>
	</rich:calendar>
	<h:outputText value="#{bundle.remark}"/> 
	<h:inputTextarea id="receiveRawMaterialRemark" value="#{con100.selectItem.receiveRawMaterialRemark}" cols="20" rows="2" disabled="#{!con100.editRaw}">
		<a4j:support id="onchangeReceiveRawMaterialRemark" event="onchange" reRender="receiveRawMaterialRemark" actionListener="#{con100.onchangeRaw}"/>
	</h:inputTextarea>
</h:panelGrid>